<!DOCTYPE html>
<html>
<head>
<title>{$site_name}</title>
<meta name="keywords" content="{$site_seo_keywords}" />
<meta name="description" content="{$site_seo_description}">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

    <tc_include file="Public:member_head" />
</head>

<body class="body-white">
<script>
    function selectOrder(){
       location.href="{:U('product/member/select_order')}";
    }
</script>
	<tc_include file="Public:nav" />


    <!--会员中心-->
    <div class="member">

        <!--所在位置-->
        <tc_include file="Public:position" />
        <!--end 所在位置-->

        <!--会员中心首页-->
        <div class="memberbox">
            <!--会员中心左边-->
            <tc_include file="Public:menu_left" />
            <!--end 会员中心左边-->

            <!--会员中心右边-->
            <div class="memberR">

                <div class="r-titleTb"><h2>最新订单</h2></div>
                <!--最新订单-->
                <div class="sort-box">
                    <div class="b-top">订单提醒：<a href="{:U('product/member/select_order',array('status'=>2))}">待付款（0）</a><a href="{:U('product/member/select_order',array('status'=>3))}">待确认收货（0）</a></div>

                    <form method="GET" name="serachForm" id="serachForm" action="{:U('product/member/select_order',array('status'=>2))}">
                        <div class="b-btm">
                            <select class="se"  onchange="selectOrder()">
                                <option value="0" onclick="selectOrder()">近一个月订单</option>
                                <option value="1" onclick="selectOrder()">一个月前订单</option>
                            </select>
                            <div class="btn"><a href="javascript:selectOrder();">查询订单</a></div>
                            <input type="text" class="put" placeholder="商品名称、商品编号、订单编号">
                        </div>
                    </form>
                </div>
                <div class="order-layer">
                    <a <if condition="empty(I('get.status'))">class="cur"</if> href="{:U('product/member/select_order',array('status'=>0))}">全部订单</a>
                    <a <if condition="I('get.status') == 2">class="cur"</if> href="{:U('product/member/select_order',array('status'=>2))}">待付款</a>
                    <a <if condition="I('get.status') == 3">class="cur"</if>  href="{:U('product/member/select_order',array('status'=>3))}">待确认收货</a>
                    <a <if condition="I('get.status') == 4">class="cur"</if>  href="{:U('product/member/select_order',array('status'=>4))}">已完成</a>
                    <a <if condition="I('get.status') == 5">class="cur"</if>  href="{:U('product/member/select_order',array('status'=>5))}">已取消</a>
                </div>
                <div class="order-box" style="margin-top:0px;">
                    <div class="order">
                        <table cellspacing="0" cellpadding="0" border="0" class="o-table">
                            <thead class="o-thead">
                            <tr class="o-title">
                                <td style="width:129px;">订单编号</td>
                                <td style="width:319px;">订单商品</td>
                                <td style="width:129px;">金额（元）</td>
                                <td style="width:139px;">下单时间</td>
                                <td style="width:139px;">订单状态</td>
                                <td style="width:168px;">操作</td>
                            </tr>
                            </thead>
                            <tbody class="o-info">
                            </tbody>
                        </table>
                    </div>
                    <div class="e-fy">
                        <div style="float:right">
                        </div>
                    </div>
                </div>
                <!--end 最新订单-->


            </div>
            <!--end 会员中心右边-->
            <div class="clear"></div>
        </div>
        <!--end 会员中心首页-->
        <div class="clear"></div>
    </div>
    <!--end 会员中心-->

    <tc_include file="Public:member_footer" />

	<tc_include file="Public:footer" />

</body>
</html>